﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhonTai.Industry.Services.StationPlc.Dto.Output
{
    public class StationPlcGetPageOutput
    {
        public long Id { get; set; }
        /// <summary>
        /// 工位ID
        /// </summary>
        public long WorkStationId { get; set; }

        /// <summary>
        /// PLC设备ID
        /// </summary>
        public long PLCDeviceId { get; set; }
        /// <summary>
        /// 工站代号
        /// </summary>
        public string StationCode { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }
        /// <summary>
        /// PLC地址
        /// </summary>
        /// <remarks></remarks>
        public string IpAddress { get; set; }

        /// <summary>
        /// 端口号
        /// </summary>
        /// <remarks></remarks>
        public int Port { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 机架ID
        /// </summary>
        public int RackId { get; set; }

        /// <summary>
        /// 插槽ID
        /// </summary>
        public int SlotId { get; set; }

        /// <summary>
        /// 连接状态
        /// </summary>
        public string ConnectionStatus { get; set; }

        /// <summary>
        /// 最后连接时间
        /// </summary>
        public DateTime LastConnected { get; set; }

        /// <summary>
        /// 启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// </summary>
        public long CreatedUserId { get; set; }

        /// <summary>
        /// </summary>
        public string CreatedUserName { get; set; }

        /// <summary>
        /// </summary>
        public string CreatedUserRealName { get; set; }

        /// <summary>
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// </summary>
        public long ModifiedUserId { get; set; }

        /// <summary>
        /// </summary>
        public string ModifiedUserName { get; set; }

        /// <summary>
        /// </summary>
        public string ModifiedUserRealName { get; set; }

        /// <summary>
        /// </summary>
        public DateTime ModifiedTime { get; set; }

        /// <summary>
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}